package com.atguigu.gmall.product.client.feign.fallback;

import com.atguigu.gmall.model.product.*;
import com.atguigu.gmall.product.client.feign.ProductFeignClient;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @author wk
 * @create 2021-08-30 18:20
 */
@Component
public class ProductFeignClientFallBack implements ProductFeignClient {
    @Override
    public SkuInfo getSkuInfo(Long skuId) {
        return new SkuInfo();
    }

    @Override
    public BaseCategoryView getBaseCategoryView(Long category3Id) {
        return new BaseCategoryView();
    }

    @Override
    public BigDecimal getSkuPrice(Long skuId) {
        return new BigDecimal(0);
    }

    @Override
    public List<SpuSaleAttr> getSpuSaleAttrListCheckBySku(Long skuId, Long spuId) {
        return null;
    }

    @Override
    public Map getSkuValueIdsMap(Long spuId) {
        return null;
    }

    @Override
    public List<BaseCategoryView> getBaseCategoryViewList() {
        return null;
    }

    @Override
    public BaseTrademark getBaseTrademark(Long tmId) {
        return null;
    }

    @Override
    public List<SkuAttrValue> getSkuAttrValue(Long skuId) {
        return null;
    }
}
